package com.yfp.operation.domain.vo;

import cn.hutool.core.annotation.Alias;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 选择优惠券列表展示类
 */
@Data
@Tag(name = "选择优惠券列表展示类")
public class MarCouponPackCouponVO implements Serializable {

    private static final long serialVersionUID = -5159645615472425323L;

    /**
     * 优惠券主键id
     */
    @Schema(description = "优惠券主键id")
    private Long id;

    /**
     * 优惠券名称
     */
    @Schema(description = "优惠券名称")
    private String couponName;

    /**
     * 名称备注
     */
    @Alias("remark")
    @Schema(description = "名称备注")
    private String couponRemark;

    /**
     * 优惠券类型[1满减券、2折扣券、3单品券、4新人券、5霸王免单券]
     */
    @Schema(description = "优惠券类型[1满减券、2折扣券、3单品券、4新人券、5霸王免单券]")
    private Integer type;

    /**
     * 剩余数量
     */
    @Schema(description = "剩余数量")
    private Integer surplusCount;

    /**
     * 每人领取次数
     */
    @Schema(description = "每人领取次数")
    private Integer receiveCount;

    /**
     * 优惠方式1满减2折扣
     */
    @Schema(description = "优惠方式:[1满减、2折扣]")
    private Integer discountsType;

    /**
     * 优惠内容
     */
    @Schema(description = "优惠内容")
    private BigDecimal discounts;

    /**
     * 优惠详情
     */
    @Schema(description = "优惠详情")
    private String details;
}